package org.alis.smallcc.designpatterns.behavior.chain;
/**
 * boss 最终领导
 * 
 * @author: luochuan     
 * @date: 2020年10月30日 下午4:32:51
 */
public class BossChainHandler extends AbstractChainHandler{

	@Override
	public boolean defaultNext(UserRequest request) {
		return next(request);
	}

	@Override
	public boolean isNeedNext(UserRequest request) {
		 return request.getAmount()>1000 && request.getCount()>6;
	}

}
